/* * To change this template, choose Tools | Templates * and open the template in the editor. */package knowledgebase.dao;import java.util.List;import knowledgebase.model.User;/** * * @author eugene */public interface UserDAO {    public void saveOrUpdateUser(User user) throws Exception ;    public List<User> getAllUser();    public void removeUserById(long userId);    public User findUserByName(String name);    public List<User> searchUsers(String name, String email, Boolean isEnabled, int startIndex, int size);    public long getUserCount();}